﻿* Encoding: UTF-8.
MIXED Rating WITH SesCen treatcen conditcen timecen
  /CRITERIA=CIN(95) MXITER(100) MXSTEP(5) SCORING(1) SINGULAR(0.000000000001) HCONVERGE(0, 
    ABSOLUTE) LCONVERGE(0, ABSOLUTE) PCONVERGE(0.000001, ABSOLUTE)
  /FIXED=SesCen treatcen conditcen timecen SesCen*treatcen SesCen*conditcen SesCen*timecen 
    treatcen*conditcen treatcen*timecen conditcen*timecen SesCen*treatcen*conditcen 
     SesCen*conditcen*timecen treatcen*conditcen*timecen | SSTYPE(3)
  /METHOD=ML
  /PRINT=TESTCOV
  /REPEATED=measure | SUBJECT(Subject) COVTYPE(ARMA1).



* Chart Builder. 
GGRAPH 
  /GRAPHDATASET NAME="graphdataset" VARIABLES=Condition MEANCI(Rating, 95)[name="MEAN_Rating" 
    LOW="MEAN_Rating_LOW" HIGH="MEAN_Rating_HIGH"] Code MISSING=LISTWISE REPORTMISSING=NO 
  /GRAPHSPEC SOURCE=INLINE. 
BEGIN GPL 
  SOURCE: s=userSource(id("graphdataset")) 
  DATA: Condition=col(source(s), name("Condition"), unit.category()) 
  DATA: MEAN_Rating=col(source(s), name("MEAN_Rating")) 
  DATA: Code=col(source(s), name("Code"), unit.category()) 
  DATA: LOW=col(source(s), name("MEAN_Rating_LOW")) 
  DATA: HIGH=col(source(s), name("MEAN_Rating_HIGH")) 
  COORD: rect(dim(1,2), cluster(3,0)) 
  GUIDE: axis(dim(3), label("Condition")) 
  GUIDE: axis(dim(2), label("Mean Rating")) 
  GUIDE: legend(aesthetic(aesthetic.color.interior), label("Code")) 
  GUIDE: text.footnote(label("Error Bars: 95% CI")) 
  SCALE: linear(dim(2), include(0)) 
  ELEMENT: interval(position(Code*MEAN_Rating*Condition), color.interior(Code), 
    shape.interior(shape.square)) 
  ELEMENT: interval(position(region.spread.range(Code*(LOW+HIGH)*Condition)), 
    shape.interior(shape.ibeam)) 
END GPL.